﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductCateList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Weixin.ProductCateList" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Weixin/Shopping/ProductCateList.aspx">
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>分类标题&nbsp;</span>
				<asp:TextBox ID="tb_search_title" runat="server" cond="s_title" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/SystemManage/Weixin/Shopping/EditProductCate.aspx" target="navTab" rel="editproductcate" title="添加产品分类"><span>添加</span></a></li>
			<li><a class="delete" href="/SystemManage/Weixin/Shopping/DeleteProductCate.aspx?ajax=dels" target="selectedTodo" title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="5%" style="display: none">编号</th>
				<th width="30%">分类标题</th>
				<th width="45%">分类描述</th>
				<th width="15%">排序</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="grid">
                <ItemTemplate>
			    <tr target="uid" rel="<%#Eval("Id")%>">
                    <td><input name="ids" value="<%# Eval("Id")%>" type="checkbox"/></td>
				    <td style="display: none"><span><%# Eval("Id")%></span></td>
                    <td><%# Eval("Title")%></td>
                    <td><%# Eval("Description")%></td>
				    <td><%# Eval("ShowOrder")%></td>
				    <td>
				        <a href="/SystemManage/Weixin/Shopping/EditProductCate.aspx?uid=<%# Eval("Id")%>" target="navTab" title="编辑产品分类" rel="editproductcate">修改</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Weixin/Shopping/DeleteProductCate.aspx?ids=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>&nbsp;&nbsp;
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
	</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>